﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleServiceBus.Bus.MessageManagement.MessageHandling;
using SimpleServiceBus.Bus.Pipeline;
using SimpleServiceBus.Messages.Management.Monitoring;

namespace SampleMonitorClient.MessageHandlers
{
    public class EndpointPingResponseMessageHandler : IMessageHandler<EndpointPingResponse>
    {
        public void Handle(EndpointPingResponse message, IMessageContext context)
        {
            MainForm.Current.Notify(message.Message);
        }
    }
}
